package net.xdclass.service;

import net.xdclass.model.AddressDO;
import net.xdclass.request.AddressAddReqeust;
import net.xdclass.vo.AddressVO;

import java.util.List;

public interface AddressService {
    AddressDO detail(Long id);

    int add(AddressAddReqeust addressAddReqeust);

    AddressVO findById(long addressId);

    List<AddressVO> listUserAllAddress();
}
